	<{include file="tpl/header.html"}>
	<br />
	<div class="intro_header">学组留言板</div>
	<div style="margin-left:50px;margin-top:10px;">
		<span>名称：</span><span><{$cms_title}></span><span><{$cms_description}></span><br />
		<span>地址：</span><span><{$cms_address}></span><br />
		<span>联系电话：</span><span><{$cms_phone}></span><br />
		<span>邮箱：</span><span><{$cms_email}></span><br />

	</div>
	<br />
	<div class="intro_header">最新留言</div>
	<hr />
	<{foreach item=comment_item key=comment_key from=$all_comment}>
	<div style="margin-left:50px;">
		<div>
			<div>
				<span><{$comment_key}>&nbsp;&nbsp;&nbsp;&nbsp;</span>
				<span>标题:&nbsp;&nbsp;&nbsp;&nbsp;</span><{$comment_item['title']}>
			</div>
			
		</div>
		<div style="margin-left:33px;margin-top:5px;">
			<div>
				<span>内容:&nbsp;&nbsp;&nbsp;&nbsp;</span><{$comment_item['content']}>
			</div>
			<div style="margin-top:5px;">
				<font style="font-size:14px;">
					<span>留言人：<span><span><{if $comment_item['username'] == ''}>匿名<{else}><{$comment_item['username']}><{/if}></span>
					<span style="margin-left:50px;">留言时间：<span><span><{$comment_item['time']}></span>
				</font>
			</div>
		</div>
	</div>
	<hr/>
	<{/foreach}>
	<{include file="tpl/pagination.html"}>
	<br />
	<div class="intro_header">填写留言</div>
	
	<form action="<{spUrl c=comment a=index}>" method="POST">
		<div style="margin-left:50px;margin-top:10px;">
			<div>
				<span>标题: </span>&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="subject" value="" required/>
			</div><br />
			<div>
				<span>姓名: </span>&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="username" placeholder="匿名" />
			</div><br />
			<div>
				<span>电话: </span>&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="phone" />
			</div><br />
			<div>
				<span>邮箱: </span>&nbsp;&nbsp;&nbsp;&nbsp;<input type="email" name="email"  />
			</div><br />
			<div>
				<span>内容: </span>&nbsp;&nbsp;&nbsp;&nbsp;<textarea name="message" required></textarea>
			</div>
			<br />
			<input type="submit" name="submit" style="height:30px;width:60px;margin-left:160px;" value="提交"></input>
		</div>
	</form>

	<{include file="tpl/footer.html"}>